<!doctype html>
<html>
    <head>
        <title>安平县企业疫情防控信息大数据</title>
    
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
        <link rel="stylesheet" href="layui.css" media="all">
        <script src="layui.js"></script>
        <script src="jquery.1.12.4.js"></script>
        <link href="qiye.css" rel="stylesheet" />
        <style>
            .errorTitle{
                display: flex;
                justify-content: left;
            }
        </style>
    </head>
    <body>
		<!--<div id="black"></div>
        <div id="error">
            <div class="errorTitle" style="padding: 40px 20px 20px 20px;"></div>
            <div class="errorBtn">
                <span onlick="Close()">点击关闭</span>
            </div>
        </div>-->
        <div class="layBox">
    
            <div class="layBtn" onclick="link('http://qiye.city1000.cn/api/content')">
                <img src="http://qiye.city1000.cn/library/images/daka.png" />
            </div>
            <div class="layBtn" onclick="link('http://qiye.city1000.cn/api/reg')">
                <img src="http://qiye.city1000.cn/library/images/dengji2.png" />
            </div>
        </div>
        <div class="copy">
            <p style="font-size: 18px;">安平县工业和信息化局</p>
            <p>技术支持：智慧安平</p>
        </div>
        <script>
            //Tanchuang("系统更新，企业登记新增注册地选项，请1月22日15点前登记的企业，填写注册地", "点击填写注册地", 2);
            function Tanchuang (str, btnStr, num) {
                var black = $("#black");
                var box = $("#error");
                $(".errorTitle").html(str);
                if(num == 1){
                    // 关闭窗口
                    $(".errorBtn").html("<div class='baifenbai closeError'>"+btnStr+"</div>");
                    $(".closeError").click(function(){
                        var black = $("#black");
                        var box = $("#error");
                        black.fadeOut(500);
                        box.fadeOut(500);
                    });
                }
                if(num == 2){
                    // 跳转链接
                    $(".errorBtn").html("<div class='baifenbai linkUrl'>"+btnStr+"</div>");
                    $(".linkUrl").click(function(){
                        $(location).attr('href', 'http://qiye.city1000.cn/api/update/qiye');
                    });
                }
                
                black.fadeIn(500);
                box.fadeIn(500);
            }
            function link (url) {
                $(location).attr('href', url);
            };
        
        </script>
    </body>
</html>